//定义获取医院设置列表的类型
export interface getHospitalSetListParamsType {
    page: number,
    limit: number,
    hosname?: string,
    hoscode?: string
}

//定义获取医院设置列表数据里面的records中的每一项对象的类型
export interface getHospitalSetListRecordsItemType {
    id: number,
    createTime: string,
    updateTime: string,
    isDeleted: boolean,
    param: object,
    hosname: string,
    hoscode: string,
    apiUrl: string,
    signKey: string,
    contactsName: string,
    contactsPhone: string,
    status: 0 | 1
}

// 定义获取医院设置列表数据里面的records数组的类型
export type getHospitalSetListRecordsType = getHospitalSetListRecordsItemType[]

//定义获取医院设置列表完整数据的类型
export interface getHospitalSetListRequestType {
    records: getHospitalSetListRecordsType,
    total: number,
    size: number,
    current: number,
    orders: any[],
    hitCount: boolean,
    searchCount: boolean,
    pages: number
}
//定义新增医院设置列表
export interface addHospitalParamType {
    apiUrl: string,
    contactsName: string,
    contactsPhone: string,
    hoscode: string,
    hosname: string
}

//定义修改医院设置列表
export interface updateHospitalSetByIdType extends addHospitalParamType {
    id: string
}


